﻿using TechTalk.SpecFlow;

namespace Liekhus.Testing.BDD.Core
{
    [Binding]
    public abstract class BaseStepDefinitions
    {
        [Given("I am logged in as \"(.*)\"")]
        public abstract void GivenIAmLoggedInAs(string username);

        [When("I am at the \"(.*)\" screen")]
        public abstract void WhenIAmAtTheScreen(string page);

        [When("I click the \"(.*)\" link")]
        public abstract void WhenIClickTheLink(string text);

        [When("I click the \"(.*)\" button")]
        public abstract void WhenIClickTheButton(string text);

        [When("I enter the following information")]
        public abstract void WhenIEnterTheFollowingInformation(Table table);

        [Then("I should see the following results")]
        public abstract void ThenIShouldSeeTheFollowingResults(Table table);

        [Then("I should see the following on the screen")]
        public abstract void ThenIShouldSeeTheFollowingOnScreen(Table table);

    }
}
